/**
 * @date 9:17:04 AM
 * IEducationGroupDao.java
 * Administrator
 * TODO
 */
package com.qs.education.bean.dao;


import java.util.List;

import com.qs.education.bean.entity.EducationGroup;

/**
 * @class IEducationGroupDao	
 * @author Warren
 * @description
 * @date Nov 9, 2018 
 */
public interface IEducationGroupDao extends IBaseDao<EducationGroup>{
	
	/**
	 * @Description 查询教师创建的群组
	 * @author Leon
	 * @date   Nov 12, 2018
	 * @param  
	 * @return List<EducationGroup>
	 */
	public List<EducationGroup> findEducationGroupByTeacherId(Integer teacherId);

	/**
	 * @Description 查询符合条件的群组的数量
	 * @author Jason
	 * @date Nov 20, 2018
	 * @param schoolName
	 * @return
	 */
	public int getGroupCount(String schoolName);

	/**
	 * @Description 查询符合条件的群组的信息
	 * @author Jason
	 * @date Nov 20, 2018
	 * @param schoolName
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	public List<EducationGroup> getGroupList(String schoolName, Integer currentPage, Integer pageSize);
	
	/**
	 * @Description 根据ids 批量查询群组
	 * @author Leon
	 * @date   Nov 22, 2018
	 * @param  
	 * @return List<EducationGroup>
	 */
	public List<EducationGroup> getGroupsByIds(List<Long> ids);
}
